<?php

class Action extends AppModel{
    
//////////////////////////////
    public $hasOne = array(
        'ActionLaw' => array(
            'foreignKey' => 'actions_id'
        ),
        'ActionEvent' => array(
            'foreignKey' => 'actions_id'
        ),
        'ActionPoll' => array(
            'foreignKey' => 'actions_id'
        ),
        'ActionPost' => array(
            'foreignKey' => 'actions_id'
        ),
    );
    
    //////////////////////////////
    public $belongsTo = array(
        'User' => array(
            'foreignKey' => 'users_id'
        ),
        'Place' => array(
            'foreignKey' => 'places_id'
        )
    );
    
}
?>
